#pragma once

#include "effectbase.h"
#include <osg\Vec4>

namespace VrDataCore
{
	class VRDATACORE_EXPORT TransparentObjectRoundEffect:public EffectBase
	{
	public:
		TransparentObjectRoundEffect();
	protected:
		~TransparentObjectRoundEffect();
	public:
		virtual void buildPropertyMap();
		virtual osg::ref_ptr<CoreBase::ActorBase> clone();
		virtual void apply(CoreBase::ActorBase* actor);
		virtual void unApply(CoreBase::ActorBase* actor);
		void setMaterialEffect(osg::Vec4 material);
		osg::Vec4 getMaterialEffect();
		void setRound(int r);
		int getRound();
		void setExcludeObjectIds(QString ids);
		QString getExcludeObjectIds();
	private:
		osg::Vec4											_materialEffect;
		int													_r;
		QString												_ids;
		QVector<CoreBase::ActorBase*>						_transparentVector;
	};
}